package com.ciban.smarthome.module.entity;

import java.io.Serializable;

public class Host implements Serializable {
    private String id; // 主机在数据库当中生成的id
    private int serial_no;// 主机编号
    private int port;// 端口
    private String name; // 主机名称
    private String ip;  // IP地址


    private boolean isSelcted = false; // 用于判断是否被选中

    public boolean isSelcted() {
        return isSelcted;
    }

    public void setSelcted(boolean isSelcted) {
        this.isSelcted = isSelcted;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getSerial_no() {
        return serial_no;
    }

    public void setSerial_no(int serial_no) {
        this.serial_no = serial_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public void setIsSelcted(boolean isSelcted) {
        this.isSelcted = isSelcted;
    }
}
